package com.sz.common.core.system.entity;

import com.sz.common.base.entity.EntityBase;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Function: 统计系统api调用耗时. <br>
 * Date: 2017年02月14日 11:06 <br>
 * Author: wentao.chang
 */
public class ApiCost extends EntityBase {

    private Integer id;
    private String api;
    private BigDecimal count;
    private BigDecimal total;
    private BigDecimal min;
    private BigDecimal max;
    private BigDecimal last;
    private Date lastTimestamp;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getApi() {
        return api;
    }

    public void setApi(String api) {
        this.api = api;
    }

    public BigDecimal getMin() {
        return min;
    }

    public void setMin(BigDecimal min) {
        this.min = min;
    }

    public BigDecimal getMax() {
        return max;
    }

    public void setMax(BigDecimal max) {
        this.max = max;
    }

    public BigDecimal getLast() {
        return last;
    }

    public void setLast(BigDecimal last) {
        this.last = last;
    }

    public Date getLastTimestamp() {
        return lastTimestamp;
    }

    public void setLastTimestamp(Date lastTimestamp) {
        this.lastTimestamp = lastTimestamp;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }
}
